package mysql

import "gorm.io/gorm"

type Shop struct {
	gorm.Model
	Image   string  `gorm:"type:varchar(100);not null;comment:商品图片"`
	Name    string  `gorm:"type:varchar(30);not null;comment:商品名称"`
	Comment string  `gorm:"type:varchar(50);not null;comment:评论"`
	Price   float64 `gorm:"type:float(30);not null;comment:商品价格"`
}
